﻿
package com.sz.statistics.bmo.impl;

import java.util.Map;

import com.sz.statistics.bmo.IStatisticsBMO;
import com.sz.statistics.dao.IStatisticsDAO;

public class StatisticsBMO implements IStatisticsBMO{
	
	protected IStatisticsDAO statisticsDAO = null;
	public IStatisticsDAO getStatisticsDAO() {
		return statisticsDAO;
	}
	public void setStatisticsDAO(IStatisticsDAO statisticsDAO) {
		this.statisticsDAO = statisticsDAO;
	}
	
	@SuppressWarnings("unchecked")
	public long addStatistics(Map map) throws Exception {
		return statisticsDAO.addStatistics(map);
	}
}
